import request from '@/utils/request'

const prefix = '/global'

/**
 * 取得标准科室
 */
export function standardDepartment(data) {
  return request({
    url: `${prefix}/department/getStandardDepartmentTree`,
    method: 'POST',
    data: { lngproductid: 315, ...data }
  })
}

/**
 * 供应商
 */
export function getStandardCustomer(data) {
  return request({
    url: `${prefix}/customer/getStandardCustomerTree`,
    method: 'POST',
    data: { lngproductid: 315, ...data }
  })
}

/**
 * 生产厂家
 */
export function getStandardManufacturer(data) {
  return request({
    url: `${prefix}/manufacturer/getStandardManufacturerTree`,
    method: 'POST',
    data: { lngproductid: 315, ...data }
  })
}
